home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / tex / metafo~1 / mfsrc.lzh / COMMON.LZH / COMMON.H next >
C/C++ Source or Header  |  1991-01-13  |  732b  |  36 lines

  1. /* common.h: Definitions and declarations common both to the change
  2.    files and to web2c itself.  */
  3.  
  4. #ifndef COMMON_H
  5. #define COMMON_H
  6.  
  7. /* pltotf et al. use the symbol `index' themselves; we don't want to
  8.    redefine it in those cases (and those programs don't use the other
  9.    string functions, fortunately).  */ 
  10. #ifndef index
  11. #ifndef    BSD
  12. #include <string.h>
  13. #define index strchr
  14. #define rindex strrchr
  15. #else /* BSD */
  16. #include <strings.h>
  17. #endif /* BSD */
  18. #endif /* not index */
  19.  
  20. extern char *getenv (), *rindex ();
  21.  
  22. #if !defined(ANSI) && !defined(_POSIX_SOURCE)
  23. extern SPRINTF_RETURN_TYPE sprintf ();
  24. #endif
  25.  
  26.  
  27. /* Global constants.  */
  28. #define true 1
  29. #define false 0
  30.  
  31. #define TRUE 1
  32. #define FALSE 0
  33.  
  34.  
  35. #endif /* not COMMON_H */
  36.